#include <stdlib.h>
#include <stdio.h>

#define UINT32 unsigned int
#define USE_DEF
#define NO_USE (void)

#ifdef USE_DEF
/*defination*/
int num;
#else
/*declaration*/
extern int num;
#endif

int func(int n,int m)
{
	NO_USE(m);
	return (n*n);
}

int func_ptr(int *p)
{
	int a = *p;
	return a;
}

int main()
{
	UINT32 solderedFlashDriveNumber1 = (UINT32)(-1);
	printf("solderedFlashDriveNumber1=0x%x\n",solderedFlashDriveNumber1);
	num = 100;

	printf("%d\n",-1);
	printf("%u\n",-1);
	printf("%d\n",num);

	printf("func(10,20)=%d\n",func(10,20));

	int size =10;
	int *p = &size;
	func_ptr(p);

	return 0;
}
